<!--
描述：理论课程-查看组件
开发人：fwb
开发日期：2017年12月11日
-->
<template lang="pug">
    kalix-dialog.user-add(bizKey="theoryCourse" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
        div.el-form(slot="dialogFormSlot")
            el-form-item(label="课程代码" prop="kcdm" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.kcdm" readonly)
            el-form-item(label="中文名称" prop="zwmc" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.zwmc" readonly)
            el-form-item(label="英文名称" prop="ywmc" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.ywmc" readonly)
            el-form-item(label="学分" prop="zxf" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.zxf" readonly)
            el-form-item(label="讲授学时" prop="jsxs" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.jsxs" readonly)
            el-form-item(label="实验学时" prop="syxs" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.syxs" readonly)
            el-form-item(label="上机学时" prop="sjxs" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.sjxs" readonly)
            el-form-item(label="其他学时" prop="qtxs" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.qtxs" readonly)
            el-form-item(label="总学时" prop="zxs" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.zxs" readonly)
            el-form-item(label="教学大纲" prop="jxdg" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.jxdg" readonly)

</template>

<script type="text/ecmascript-6">
    import FormModel from './model'

    export default {
        name: 'TheoryCourseView',
        data() {
            return {
                formModel: Object.assign({}, FormModel),
                labelWidth: '140px'
            }
        },
        methods: {
        }
    }
</script>
